Maple 2025 Questions and Posts

These are Posts and Questions associated with the product, Maple 2025

I'm solving the 1D heat equation using two different approaches, both involving Fourier transforms.

  1. First Attempt: Using pdsolve the Fourier method. This code either takes a very long time or doesn't produce a plot at all.
  2. Second Attempt: Manual Fourier transform. This one works fine and quickly plots the result.

Why does the first version using pdsolve(..., method = Fourier) result in slow or non-responsive behaviorplot3d, while the second version (manual transform) runs efficiently? Is the pdsolve result too symbolic or unevaluated for plotting? How can I make the first approach plot correctly?

Thanks for any insights!

ft1.mw

The problem seems to be more with the editor than the MultiSet, but I can't think of a way how to ask the question outside of this context (I am very much not a programmer). MultiSet is a set with multiplicities, i.e. each of its element can belong more than once, for example

constructs MultiSet with a appearing twice, b - five times, and c - four times. Remove is the operation of removing element from a MultiSet, possibly with prescribed multiplicity, for example in

we asked Maple to remove three of b's, and therefore the MultiSet M was left with only two of them (the lone 2 in the output says how many are left, then M is displayed to ilustrate that). Both screenshots are taken from the linked maplesoft page on Remove.

However, when I repeat the same example on Maple 2025 (on a PC), I get something quite different

so that b is deleted from M altogether. I checked that this does not happen on Maple 2019 on another PC. While writing this question and playing with other examples of the same kind, I noticed (viewing what Maple stores in memory) that it seems that "Remove(M,b,3)" is executed twice whenever the cursor enters its line (without me executing it, and without producing output). The same happens with Insert. When I don't touch the line (e.g. if Remove is inside of a loop), everythig works as expected.

It seems that if a command directly changes an object (i.e. I don't need to redefine said object) then Maple executes it silently whenever the cursor touches it. I can't think of other commands that directly change objects (again, not a programmer, can't even think how to phrase it correctly). The question is as in the title: why and how Maple 2025 does that? I did check for options that look like enabling automatic execution but found nothing active and/or related. Any help will be much appreciated.

Recently, I was surprised by the fact that it is not possible to create a table, where the values of entries are tables.

Toy example:

T1:=table(["1"=table(["first"=12, "second"=15]), "2"= table(["first"=9, "second"=7])]);

The code

T1["1"];

doesn't return table(["first"=12, "second"=15])

If table has lists in right-hand side

T1:=table(["1"=[12, 15], "2"= [9, 7]]);

all works properly.

Maple 2025.1

We have just released an update to Maple. Maple 2025.1 includes several enhancements to the new interface, as well as various small corrections throughout the product. As always, we recommend that all Maple 2025 users install this update.

In particular, please note that this update includes a fix to the problem where new documents were opening in a new window instead of a new tab.  Thanks for helping us, and other users, by letting us know!

This update is available through Tools>Check for Updates in Maple, and is also available from the Maple 2025.1 download page on web site, where you can also find more details.

MapleSim 2025

We are happy to announce that we just released MapleSim 2025. This release includes a new component library to support the modeling of motor drives and updates to several in-product apps that make it even easier to perform optimization and analysis.

See What’s New in MapleSim for details.

I am new to Windows 11 (edit: I was forced to migrate from 10).

I am looking for an option to resize the Window that the interupt button becomes accessible (see red box)

Also: there are no window controls (maximize minimize) visble . (edit: the title bar is clipped off).

Window key + arrow key does not work.

I have also tried the Snap Layout option to resize but cannot find Maple 2025.1 under the selectable tasks.

What else can I try?

Hello,

I’m currently a student working with vectors as part of my electrical AC calculations. Up until now, I’ve been using GeoGebra to add and plot vectors, but I’m trying to transition fully to Maple, since I already use it for everything else in my studies.

All of my assignments are either given in — or require answers in — polar form (magnitude and angle), so I would really like to work directly in polar coordinates without converting everything to Cartesian and back.

I’ve already tried to figure this out on my own, but so far, I’ve only been able to make it work using Cartesian notation. I’ve attached a PDF with a typical example of the kind of tasks I work on, in case that helps clarify my needs.

Could you guide me on how to best set up and work with polar vectors in Maple — including how to define, add, and plot them directly in polar notation?

Vector_Help.pdf

Thanks in advance for your help!

Best regards,
Mads Bach Nielsen

- Yes this was written with the help of Chat GPT

Maple 2024 had a very well defined "Stop Execution" symbol on the desktop.  

Maple 2025 doesn't have an obvious symbol somewhere.  Also, the two little "dots" that I once had in the lower left bottom in Maple 2025 have disappeared! There is only a bar at the bottom which seems to do nothing.

A colleage asked me for the solution of an elementary boundary value problem for an ODE that models the steady-state temperature distribution in a nonhomogeneous rod.  I solved it in Maple and passed the solution on to her without checking the result.  She struggled for a day or two, attempting to "debug" her finite element code whose result was not agreeing with Maple's.

Upon closer inspection, it turned out that her code was correct and the solution returned by Maple was not.  Here are the details.  I can't tell whether Maple's dsolve can be improved to provide correct solutions to this and similar problems.

Problem with dsolve()

restart;

kernelopts(version);

`Maple 2025.0, X86 64 LINUX, Mar 24 2025, Build ID 1909157`

A boundary value problem for an ODE

 

Let's solve the following boundary value problem:

de := Diff(a(x)*Diff(u(x),x),x) = -1;

Diff(a(x)*(Diff(u(x), x)), x) = -1

bc := u(-1)=0, u(1)=0;

u(-1) = 0, u(1) = 0

Maple's dsolve() fails to find a solution:

dsolve({de,bc});

 

Solution obtained by hand

 

The solution may be obtained by hand, as follows.

 

Integrate the DE once

a(x)*(diff(u(x), x)) = c-x.

where c is the integration constant.  Therefore

diff(u(x), x) = (c-x)/a(x) and (c-x)/a(x) = c/a(x)-x/a(x).

To determine the value of the constant c, integrate the above over [-1, 1]

and apply the boundary conditions:

c*(int(1/a(x), x = -1 .. 1))+int(x/a(x), x = -1 .. 1) = u(1)-u(-1) and u(1)-u(-1) = 0

whence
c = (int(x/a(x), x = -1 .. 1))/(int(1/a(x), x = -1 .. 1)).

Having thus determined c, we integrate the expression for diff(u(x), x) obtained above, and arrive at the solution
u(x) = int((c-xi)/a(xi), xi = -1 .. x).

Remark: The solution obtained here is valid for any a(x) as long as

the integrals encountered above make sense.  Note that there is
no requirement on the differentiability or even continuity of a(x).

Technically, a(x) can be any function such that 1/a(x) is integrable.

 

 

Wrong solution returned by dsolve()

 

Let us consider a special choice of the coefficient a(x):

a := x -> 1 + 2*Heaviside(x);

proc (x) options operator, arrow; 1+2*Heaviside(x) end proc

According the the calculations above, we have:

c := int(x/a(x),x=-1..1) / int(1/a(x),x=-1..1) ;

-1/4

and therefore the correct solution is

int((c-xi)/a(xi), xi=-1..x):
sol := u(x) = collect(%, Heaviside);

u(x) = ((1/6)*x+(1/3)*x^2)*Heaviside(x)-(1/4)*x-(1/2)*x^2+1/4

Here is what the solution looks like:

plot(rhs(sol), x=-1..1, color=blue, thickness=3);

Let's attempt to solve the same boundary value problem with Maple's dsolve().

dsolve({de,bc}):
bad_sol := collect(%, Heaviside);

u(x) = ((1/3)*x^2+x/(3*exp(-2)+3)-exp(-2)*x/(3*exp(-2)+3))*Heaviside(x)-(1/2)*x^2-x/(3*exp(-2)+3)+(3*exp(-2)+1)/(6*exp(-2)+6)

That's very different from the correct solution obtained above.   To see the problem with it, let's recall that according to the DE, the expression a(x)*(diff(u(x), x))NULLshould evaluate to  c-x for some constant c,  but what we get through bad_sol is nothing like c-x;  in fact, it's not even continuous:

a(x)*diff(rhs(bad_sol), x):
collect(%, Heaviside, simplify);
plot(%, x = -0.5 .. 0.5);

((4*x-2)*exp(-2)+4*x+2)*Heaviside(x)^2/(3*exp(-2)+3)+(-(4/3)*x-1/3)*Heaviside(x)-x-1/(3*exp(-2)+3)

It appears that dsolve goes astray by attempting to expand the expression diff(a(x)*(diff(u(x), x)), x).   It shouldn't.

 

 

Download dsolve-bug.mw

 

Hi.

So I get this ->

int(x^2, x = 0 .. a)

(1/3)*a^3

(1)

NULL


But i would like this ->

Download 5.3-Definite-Integral.mw

 

And maybe something similar for indefinite integrals.

This would really help me with education in calculus so thanks everybody.

It would appear being able to run Mapleflow worksheets in Maple is only useful to those who have Mapleflow.

Just wondering without being able to see what variables are in the mapleflow worksheet how would I know what values to pass to it?

Hi.

I have been learning Integration for calculus. I came about on output that i not know what it means.

See for yourself. ->
If anyone can help make this mess.

Thanks in advance.

sum((-2)^j/(j-2)^2, j = 3 .. n)

4*polylog(2, -2)+2^(n+1)*(1+(-2*n^2+4*n-2)*LerchPhi(-2, 2, n))*(-1)^n/(-1+n)^2

(1)

NULL

Download ex5sigma.mw

In the screen shot below taken from a 3D animation I want to vastly shrink the area I have stippled with spots (it's actually white on the worksheet).  It's outside the cube defining the 3D animation and inside the square that defines the part of the worksheet used for an image.

I get this ->

sum(i^2, i = 1 .. 5)

55``

(1)

 

But would like this ->

First impressions, I have mixed feelings - one being it's cool and new, the other feeling that it's a bit clunky.

In my opinion Maple is starting to look like the interface is being modelled after Microsoft Office, or like the ribbon toolbars of AutoCad or Inventor.  Maple's "uniqueness" is disappearing.  I rather liked the old interface. 

The toolbar icons are larger, taking up more space.

The toolbar layout is indeed simpler, but also less efficient maybe.  I mean there were more useful available icons at once before, more functional is the word I guess.  Now it might be a couple of clicks away to pull up your favorite icon(s).  The icons all look very nice, that's a plus but they could be smaller.  

Perhaps we could make a customized menu toolbar?  That is, allow users to put all the most useful icons we use or would like the most to be displayed?  This would help some of the strange organization of some of the icons and allow us to make our maple "sandbox" feel more at home. 

Where have all the tools options display / interface / Precision tabs all gone?  That is typsetting (extended or Maple standard) options
plot or font anti-aliasing (Enabled Disabled) options
plot dislpay (inline window) options
Precision (limit expression length to etc...)

1 2 3 4 5 6 7 Page 1 of 8